package com.zlf.service;

import com.zlf.entity.PermissionEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhanglongfei
 * @since 2021-05-24
 */
public interface PermissionService extends IService<PermissionEntity> {

    /**
     * 根据角色id获取权限集合
     *
     * @param roleId
     * @return
     */
    List<PermissionEntity> getPermissionsByRoleId(Integer roleId);

}
